<template>
    <div>
        <el-tag v-if="$attrs.row.gender == 0" type="warning">未知</el-tag>
        <el-tag v-else-if="$attrs.row.gender == 1" type="success">男</el-tag>
        <el-tag v-else type="info">女</el-tag>
    </div>
</template>

<script>
export default {
    name: 'gender',
}
</script>
